Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeclareStrictTypesSniff: Fixing number of empty lines after line comment #1693

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

maryo
Copy link
Contributor

@maryo maryo commented Aug 19, 2024

When the previous effective token before declare statement is line comment (// .../# ..), the comment spans across the entire line and there is no newline whitespace token. The number of lines was counter incorrectly in such case.

… empty lines when previous effective token before declare is line comment
@kukulich kukulich force-pushed the strict-types-after-line-comment branch from 716c6a4 to 9e6b426 Compare February 1, 2025 12:40
@kukulich
Copy link
Contributor

kukulich commented Feb 1, 2025

Thanks!

@kukulich kukulich merged commit d4aa673 into slevomat:master Feb 1, 2025
35 checks passed
@kukulich kukulich added the Bug label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants